class Test {
    Object f(Object result) {
        return x == null ? null : <caret>
    }
}